<div class="sidebar" id="sidebar">
  <script type="text/javascript">
    try {
      ace.settings.check('sidebar', 'fixed')
    } catch (e) {}
  </script>

  <div class="sidebar-shortcuts" id="sidebar-shortcuts">
    <div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
      <button class="btn btn-success">
        <i class="icon-signal"></i>
      </button>

      <button class="btn btn-info">
        <i class="icon-pencil"></i>
      </button>

      <button class="btn btn-warning">
        <i class="icon-group"></i>
      </button>

      <button class="btn btn-danger">
        <i class="icon-cogs"></i>
      </button>
    </div>

    <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
      <span class="btn btn-success"></span>

      <span class="btn btn-info"></span>

      <span class="btn btn-warning"></span>

      <span class="btn btn-danger"></span>
    </div>
  </div><!-- #sidebar-shortcuts -->

  <ul class="nav nav-list">
    <li class="{{if G.url[1]=='admin'}}active open{{/if}}">
      <a href="{{__HOST__}}/admin">
        &nbsp;&nbsp;<i class="iconfont">&#xe616;</i>
        &nbsp;&nbsp;<span class="menu-text"> 控制台 </span>
      </a>
    </li>


    <li class="{{if G.url[1]=='manage'}}active open{{/if}}">
      <a href="#" class="dropdown-toggle">
        &nbsp;&nbsp;<i class="iconfont">&#xe67b;</i>
        &nbsp;&nbsp;<span class="menu-text"> 管理员管理 </span>

        <b class="arrow icon-angle-down"></b>
      </a>

      <ul class="submenu">
        <li class="{{if G.url[1]=='manage'&&!G.url[2]}}active{{/if}}">
          <a href="{{__HOST__}}/admin/manage">
            <i class="icon-double-angle-right"></i>
            管理员列表
          </a>
        </li>

        <li class="{{if G.url[2]=='add'}}active{{/if}}">
          <a href="{{__HOST__}}/admin/manage/add">
            <i class="icon-double-angle-right"></i>
            增加管理员
          </a>
        </li>


      </ul>
    </li>

    <li class="{{if G.url[1]=='articalcate'}}active open{{/if}}">
      <a href="#" class="dropdown-toggle">
        &nbsp;&nbsp;<i class="iconfont">&#xe643;</i>
        &nbsp;&nbsp;<span class="menu-text"> 分类管理 </span>

        <b class="arrow icon-angle-down"></b>
      </a>

      <ul class="submenu">
        <li class="{{if G.url[1]=='articalcate'&&!G.url[2]}}active{{/if}}">
          <a href="{{__HOST__}}/admin/articalcate">
            <i class="icon-double-angle-right"></i>
            分类列表
          </a>
        </li>

        <li class="{{if G.url[2]=='addArticalcate'}}active{{/if}}">
          <a href="{{__HOST__}}/admin/articalcate/addArticalcate">
            <i class="icon-double-angle-right"></i>
            增加分类
          </a>
        </li>
      </ul>
    </li>

    <li class="{{if G.url[1]=='article'}}active open{{/if}}">
      <a href="#" class="dropdown-toggle">
        &nbsp;&nbsp;<i class="iconfont">&#xe61c;</i>
        &nbsp;&nbsp;<span class="menu-text"> 内容管理 </span>

        <b class="arrow icon-angle-down"></b>
      </a>

      <ul class="submenu">
        <li class="{{if G.url[1]=='article'&&!G.url[2]}}active{{/if}}">
          <a href="{{__HOST__}}/admin/article">
            <i class="icon-double-angle-right"></i>
            内容列表
          </a>
        </li>

        <li class="{{if G.url[2]=='addArticle'}}active{{/if}}">
          <a href="{{__HOST__}}/admin/article/addArticle">
            <i class="icon-double-angle-right"></i>
            增加内容
          </a>
        </li>

      </ul>
    </li>
    <li class="{{if G.url[1]=='focus'}}active open{{/if}}">
      <a href="#" class="dropdown-toggle">
        &nbsp;&nbsp;<i class="iconfont">&#xe64a;</i>
        &nbsp;&nbsp;<span class="menu-text"> 轮播图管理 </span>

        <b class="arrow icon-angle-down"></b>
      </a>

      <ul class="submenu">
        <li class="{{if G.url[1]=='focus'&&!G.url[2]}}active{{/if}}">
          <a href="{{__HOST__}}/admin/focus">
            <i class="icon-double-angle-right"></i>
            轮播图列表
          </a>
        </li>

        <li class="{{if G.url[2]=='addFocus'}}active{{/if}}">
          <a href="{{__HOST__}}/admin/focus/addFocus">
            <i class="icon-double-angle-right"></i>
            增加轮播图
          </a>
        </li>


      </ul>
    </li>

    <li class="{{if G.url[1]=='link'}}active open{{/if}}">
      <a href="#" class="dropdown-toggle">
        &nbsp;&nbsp;<i class="iconfont">&#xe60e;</i>

        &nbsp;&nbsp;<span class="menu-text">
          友情链接管理
          <span class="badge badge-primary ">5</span>
        </span>

        <b class="arrow icon-angle-down"></b>
      </a>

      <ul class="submenu">
        <li class="{{if G.url[1]=='link'&&!G.url[2]}}active{{/if}}">
          <a href="{{__HOST__}}/admin/link">
            <i class="icon-double-angle-right"></i>
            友情链接列表
          </a>
        </li>

        <li class="{{if G.url[2]=='addLink'}}active{{/if}}">
          <a href="{{__HOST__}}/admin/link/addLink">
            <i class="icon-double-angle-right"></i>
            增加友情链接
          </a>
        </li>
      </ul>


    </li>

    <li class="{{if G.url[1]=='nav'}}active open{{/if}}">
      <a href="#" class="dropdown-toggle">
        &nbsp;&nbsp;<i class="iconfont">&#xe66c;</i>

        &nbsp;&nbsp;<span class="menu-text">
          导航管理
          <span class="badge badge-primary ">5</span>
        </span>

        <b class="arrow icon-angle-down"></b>
      </a>

      <ul class="submenu">
        <li class="{{if G.url[1]=='nav'&&!G.url[2]}}active{{/if}}">
          <a href="{{__HOST__}}/admin/nav">
            <i class="icon-double-angle-right"></i>
            导航列表
          </a>
        </li>
        <li class="{{if G.url[2]=='addNav'}}active{{/if}}">
          <a href="{{__HOST__}}/admin/nav/addNav">
            <i class="icon-double-angle-right"></i>
            增加导航
          </a>
        </li>
      </ul>


    </li>



    <li class="{{if G.url[1]=='setting'&&!G.url[2]}}active{{/if}}">
      <a href="{{__HOST__}}/admin/setting">
        &nbsp;&nbsp;<i class="iconfont">&#xe619;</i>
        &nbsp;&nbsp;<span class="menu-text"> 系统设置 </span>
      </a>
    </li>

  </ul><!-- /.nav-list -->

  <div class="sidebar-collapse" id="sidebar-collapse">
    <i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
  </div>

  <script type="text/javascript">
    try {
      ace.settings.check('sidebar', 'collapsed')
    } catch (e) {}
  </script>
</div>